package com.cookor.poi.modules.phy.entity;

import com.cookor.poi.common.persistence.DataEntity;
import com.cookor.poi.modules.tenant.entity.TTenant;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;

public class TDoctor extends DataEntity<TDoctor> {
  private static final long serialVersionUID = 1L;
  
  private Integer tenantId;
  
  private Integer officeId;
  
  private String tenantIds;
  
  private Integer rankId;
  
  private Integer proRankId;
  
  private String doctorName;
  
  private Integer gender;
  
  private String mobile;
  
  private String pic;
  
  private String doctorPerfer;
  
  private String desc;
  
  private Integer proStatus;
  
  private Integer onlineStatus;
  
  private Integer bookStatus;
  
  private Integer useNum;
  
  private Integer follow;
  
  private Integer dimission;
  
  private TTenant tenant;
  
  private String tenantName;
  
  private TRank tRank;
  
  private String rankName;
  
  private TProRank tProRank;
  
  private String proRankName;
  
  private TOffice office;
  
  private String officeName;
  
  private String[] tenantIdsArr;
  
  public TDoctor() {}
  
  public TDoctor(String id) {
    super(id);
  }
  
  @NotNull(message = "租户id不能为空")
  public Integer getTenantId() {
    return this.tenantId;
  }
  
  public void setTenantId(Integer tenantId) {
    this.tenantId = tenantId;
  }
  
  public Integer getRankId() {
    return this.rankId;
  }
  
  public void setRankId(Integer rankId) {
    this.rankId = rankId;
  }
  
  public Integer getProRankId() {
    return this.proRankId;
  }
  
  public void setProRankId(Integer proRankId) {
    this.proRankId = proRankId;
  }
  
  @Length(min = 1, max = 32, message = "医生姓名长度必须介于 1 和 32 之间")
  public String getDoctorName() {
    return this.doctorName;
  }
  
  public void setDoctorName(String doctorName) {
    this.doctorName = doctorName;
  }
  
  @NotNull(message = "是否是专家")
  public Integer getProStatus() {
    return this.proStatus;
  }
  
  public void setProStatus(Integer proStatus) {
    this.proStatus = proStatus;
  }
  
  @NotNull(message = "性别不能为空")
  public Integer getGender() {
    return this.gender;
  }
  
  public void setGender(Integer gender) {
    this.gender = gender;
  }
  
  @Length(min = 0, max = 32, message = "联系电话长度必须介于 0 和 32 之间")
  public String getMobile() {
    return this.mobile;
  }
  
  public void setMobile(String mobile) {
    this.mobile = mobile;
  }
  
  @Length(min = 0, max = 255, message = "头像长度必须介于 0 和 255 之间")
  public String getPic() {
    return this.pic;
  }
  
  public void setPic(String pic) {
    this.pic = pic;
  }
  
  public String getDoctorPerfer() {
    return this.doctorPerfer;
  }
  
  public void setDoctorPerfer(String doctorPerfer) {
    this.doctorPerfer = doctorPerfer;
  }
  
  public String getDesc() {
    return this.desc;
  }
  
  public void setDesc(String desc) {
    this.desc = desc;
  }
  
  @NotNull(message = "线上咨询开关不能为空")
  public Integer getOnlineStatus() {
    return this.onlineStatus;
  }
  
  public void setOnlineStatus(Integer onlineStatus) {
    this.onlineStatus = onlineStatus;
  }
  
  @NotNull(message = "是否开通预约挂号不能为空")
  public Integer getBookStatus() {
    return this.bookStatus;
  }
  
  public void setBookStatus(Integer bookStatus) {
    this.bookStatus = bookStatus;
  }
  
  public TTenant getTenant() {
    return this.tenant;
  }
  
  public void setTenant(TTenant tenant) {
    this.tenant = tenant;
  }
  
  public String getTenantName() {
    return this.tenantName;
  }
  
  public void setTenantName(String tenantName) {
    this.tenantName = tenantName;
  }
  
  public TRank gettRank() {
    return this.tRank;
  }
  
  public void settRank(TRank tRank) {
    this.tRank = tRank;
  }
  
  public String getRankName() {
    return this.rankName;
  }
  
  public void setRankName(String rankName) {
    this.rankName = rankName;
  }
  
  public TProRank gettProRank() {
    return this.tProRank;
  }
  
  public void settProRank(TProRank tProRank) {
    this.tProRank = tProRank;
  }
  
  public String getProRankName() {
    return this.proRankName;
  }
  
  public void setProRankName(String proRankName) {
    this.proRankName = proRankName;
  }
  
  public String getTenantIds() {
    return this.tenantIds;
  }
  
  public void setTenantIds(String tenantIds) {
    this.tenantIds = tenantIds;
  }
  
  public String[] getTenantIdsArr() {
    return this.tenantIdsArr;
  }
  
  public void setTenantIdsArr(String[] tenantIdsArr) {
    this.tenantIdsArr = tenantIdsArr;
  }
  
  public Integer getUseNum() {
    return this.useNum;
  }
  
  public void setUseNum(Integer useNum) {
    this.useNum = useNum;
  }
  
  public Integer getFollow() {
    return this.follow;
  }
  
  public void setFollow(Integer follow) {
    this.follow = follow;
  }
  
  @NotNull(message = "officeid不能为空")
  public Integer getOfficeId() {
    return this.officeId;
  }
  
  public void setOfficeId(Integer officeId) {
    this.officeId = officeId;
  }
  
  public TOffice getOffice() {
    return this.office;
  }
  
  public void setOffice(TOffice office) {
    this.office = office;
  }
  
  public String getOfficeName() {
    return this.officeName;
  }
  
  public void setOfficeName(String officeName) {
    this.officeName = officeName;
  }
  
  @NotNull(message = "离职状态不能为空")
  public Integer getDimission() {
    return this.dimission;
  }
  
  public void setDimission(Integer dimission) {
    this.dimission = dimission;
  }
}
